package org.example.springbook.service;

import org.example.springbook.mapper.UserMapper;
import org.example.springbook.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;
    public UserInfo queryByName(String username) {
        return userMapper.queryByName(username);
    }
}
